package com.hyzx.qbasic.admin.domain.service;

import com.github.pagehelper.PageInfo;
import com.hyzx.qbasic.admin.model.po.CmsChannelInfoPO;
import com.hyzx.qbasic.admin.model.po.CmsChannelPO;
import com.hyzx.qbasic.admin.model.vo.req.admin.AddCmsChannelReq;
import com.hyzx.qbasic.admin.model.vo.req.admin.DeleteCmsChannelReq;
import com.hyzx.qbasic.admin.model.vo.req.admin.EditCmsChannelReq;
import com.hyzx.qbasic.admin.model.vo.req.admin.GetCmsChannelListReq;
import com.hyzx.qbasic.admin.model.vo.res.BaseOperationRes;

import java.util.List;

/**
 * Created by 黄江华 on 2018/7/24
 */

public interface ICmsChannelService {
    PageInfo<CmsChannelInfoPO> getPagedCmsChannelList(GetCmsChannelListReq req);

    BaseOperationRes addCmsChannel(AddCmsChannelReq req);

    List<CmsChannelPO> getAllCmsChannelList();

    BaseOperationRes deleteCmsChannel(DeleteCmsChannelReq req);

    CmsChannelPO getCmsChannelInfo(int channelId);

    BaseOperationRes editCmsChannel(EditCmsChannelReq req);
}
